home *** CD-ROM | disk | FTP | other *** search
- ; $VER: compare.module_Install 1.1 (14.10.96)
- ; Installer script by Leo Davidson.
-
- ;*****************************************************************************
-
- ;- Welcome -------------------------------------------------------------------
-
- (welcome "compare.module")
-
- ;- Introductory message ------------------------------------------------------
-
- (message "This installer will install compare.module "
- "for you.\n\n "
- "You must already have Directory Opus 5.5 "
- "correctly installed on your harddisk. ")
-
- ;- Set where to do the install to --------------------------------------------
-
- (set #target "DOpus5:")
- (set @default-dest #target)
-
- (if (NOT (exists "DOpus5:" (noreq)))
- (abort "DOpus 5.5 is not correctly installed.\n\n"
- "The \"DOpus5:\" assign could not be found.")
- )
-
- ;- 1) Install compare.module and guide ---------------------------------------
-
- (copylib (prompt "\"compare.module\" will be copied to "
- "\"DOpus5:modules\" unless a newer version "
- "already exists.")
- (help @copylib-help)
- (confirm)
- (source "compare.module")
- (dest "DOpus5:modules")
- (optional force)
- )
-
- ; The guide has a version string and so can be copied with Copylib.
-
- (copylib (prompt "\"compare.module.guide\" will be copied to "
- "\"DOpus5:help\" unless a newer version "
- "already exists.")
- (help @copylib-help)
- (confirm)
- (source "compare.module.guide")
- (dest "DOpus5:help")
- (optional force)
- )
-
- ; Only copy the guide's icon if one doesn't already exist so we don't mess-up
- ; the user's snapshot/image/tooltypes.
-
- (if (NOT (exists "DOpus5:help/compare.module.guide.info"))
- (copyfiles (prompt "An icon for the AmigaGuide will be copied.")
- (help @copyfiles-help)
- (source "compare.module.guide.info")
- (dest "DOpus5:help")
- (noposition)
- (optional force)
- (confirm)
- )
- )
-
- ;- 2) Install optional example button-bank -----------------------------------
-
- (if (askbool (prompt "Would you like to install a button bank "
- "with an example compare button which you "
- "can drag'n'drop into your existing setup?")
- (help "Installing it won't hurt, but you don't "
- "have to.")
- (default 1)
- (choices "Yes Please" "No Thanks")
- )
- (
- (copyfiles (source "compare-examples")
- (dest "DOpus5:Buttons")
- (optional force))
- (message "The example button bank has been installed.\n\n"
- "To open it, open a DOpus lister and go to "
- "\"DOpus5:Buttons\" and double-click on the "
- "file called \"compare-examples\".")
- )
- )
-
- ;- Install catalogs ----------------------------------------------------------
-
- (copyfiles (prompt "Select which languages you would like "
- "catalogs installed for. English is "
- "built-in.")
- (help @copyfiles-help)
- (source "catalogs")
- (dest "DOpus5:catalogs")
- (choices "deutsch")
- (optional force)
- (confirm)
- )
-
- (message "If you are willing to translate compare "
- "into another language you can find the "
- "translation files in the archive.")
-
- ;- Misc Messages -------------------------------------------------------------
-
- (message "Please note that if you have installed "
- "MWB_DOpus 8 (which came with Opus 5.5) "
- "you will have a very nice toolbar icon "
- "to use for your compare button:\n\n"
- "\"Scales.small\" (and \"Scales.small.info\")")
-
- ;- All Done ------------------------------------------------------------------
-
- (exit "compare.module is now installed.\n\n"
- "Please take the time to read through the "
- "\"compare.module.guide\" file in "
- "\"DOpus5:Help\".\n\n"
- "If it doesn't work immediately, you may "
- "need to reboot or restart DOpus5.5 for the "
- "new module to be available."
- (quiet))
-
- ;- That's All Folks ----------------------------------------------------------
-